/*
 * Copyright (c)  小马哥. 2022-2024. All rights reserved.
 *
 */

package com.phsms.common.sensitive.demo.entity;


import com.phsms.common.sensitive.annotation.DesensitizationProp;
import com.phsms.common.sensitive.enums.SensitiveTypeEnum;
import lombok.Data;

/**
 * 敏感实体
 *
 * @author 小马哥
 * @date 2023年1月10日
 */
@Data
public class SensitiveEntity {

    private String id;

    @DesensitizationProp(value = SensitiveTypeEnum.CHINESE_NAME)
    private String name;

    @DesensitizationProp(SensitiveTypeEnum.MOBILE_PHONE)
    private String mobile;

    @DesensitizationProp(SensitiveTypeEnum.ID_CARD)
    private String idCard;

}
